package com.ruoyi.lucky.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品取货对象 t_takeover
 * 
 * @author ruoyi
 * @date 2020-11-12
 */
@Data
public class TTakeover extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    private Long toId;

    /** 盲盒开启id */
    @Excel(name = "盲盒开启id")
    private Long boxsellId;

    /** 收货方式 */
    @Excel(name = "收货方式")
    private String toWay;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String toArea;

    /** 联系手机 */
    @Excel(name = "联系手机")
    private String toPhone;

    /** 联系人 */
    @Excel(name = "联系人")
    private String toName;

    /** 图片凭证 */
    @Excel(name = "图片凭证")
    private String toPic;

    /** 状态（0 申请中，1 已驳回，2 发货中，3 已发货，4 确认收货） */
    @Excel(name = "状态", readConverterExp = "0=,申=请中，1,已=驳回，2,发=货中，3,已=发货，4,确=认收货")
    private Long status;

    private Long userId;

    private Long goodsId;

    /** 删除标志 */
    private String delFlag;

    private TBlindbox tBlindbox;

    private TGoods tGoods;

    public TBlindbox gettBlindbox() {
        return tBlindbox;
    }

    public void settBlindbox(TBlindbox tBlindbox) {
        this.tBlindbox = tBlindbox;
    }

    public TGoods gettGoods() {
        return tGoods;
    }

    public void settGoods(TGoods tGoods) {
        this.tGoods = tGoods;
    }
}
